//
//  TPHomeFlowLayout.m
//  美丽说图片浏览器
//
//  Created by 唐鹏 on 16/7/13.
//  Copyright © 2016年 tangpeng. All rights reserved.
//

#import "TPHomeFlowLayout.h"

@implementation TPHomeFlowLayout

- (void)prepareLayout{
    [super prepareLayout];
    
    self.itemSize = CGSizeMake((tp_screenWidth - 4 * margin) / 3, (tp_screenWidth - 4 * margin) / 3);
    self.minimumInteritemSpacing = 10;
    self.minimumLineSpacing = 10;
    self.sectionInset = UIEdgeInsetsMake(10, 10, 10, 10);
}

@end
